home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_319 / cnewssrc / cnews.orig.lzh / relay / caches.c < prev    next >
C/C++ Source or Header  |  1989-06-27  |  328b  |  23 lines

  1. /*
  2.  * cache control
  3.  */
  4.  
  5. #include <stdio.h>
  6. #include <sys/types.h>
  7. #include "news.h"
  8. #include "active.h"
  9. #include "caches.h"
  10. #include "transmit.h"
  11.  
  12. statust
  13. loadcaches()                /* reload in-core caches from disk */
  14. {
  15.     return actload();
  16. }
  17.  
  18. statust
  19. synccaches()                /* force in-core caches to disk */
  20. {
  21.     return actsync() | trclose();
  22. }
  23.